<?php

declare(strict_types=1);

namespace app\model;

use think\Model;
use think\model\concern\SoftDelete;

class OrgAddress extends Model
{
    use SoftDelete;

    protected $name = 'org_address';

    protected $autoWriteTimestamp = 'datetime';

    public function org()
    {
        return $this->belongsTo(Org::class, 'org_id');
    }
}
